import React from 'react'

import HomePage from '../home/home'
import RentPage from '../rent/rent'
import MinePage from '../mine/mine'
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'

const Tab = createBottomTabNavigator()

export default function TabBar() {
  return (
    <Tab.Navigator>
      <Tab.Screen name='home' component={HomePage}></Tab.Screen>
      <Tab.Screen name='rent' component={RentPage}></Tab.Screen>
      <Tab.Screen name='home' component={MinePage}></Tab.Screen>
    </Tab.Navigator>
  )
}
